﻿using NewsPortal.DataAccess.Abstraction;

namespace NewsPortal.Web.Infrastructure.BaseControllers
{
    public class EntityController<T>: BaseController where T: class, IEntity
    {
        protected IUnitOfWork<T> UnitOfWork { get; set; }
        protected IRepository<T> Repository { get; set; }
    }
}